package com.example.zsf.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.example.zsf.R;
import com.example.zsf.model.ItemDataModel;

import java.util.List;

public class AboutListAdapter extends BaseQuickAdapter<ItemDataModel, BaseViewHolder> {
    public AboutListAdapter(int layoutResId, List<ItemDataModel> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, ItemDataModel itemDataModel) {
        baseViewHolder.setText(R.id.title_tv,itemDataModel.title);
    }
}
